package com.ruicar.afs.cloud.basic.detail.vo;

import com.ruicar.afs.cloud.common.modules.contract.enums.AdjustTypeEnum;
import com.ruicar.afs.cloud.common.modules.contract.enums.AssetTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author: Lee
 * @date: 2020/5/11 19:39
 * @description:
 */
@Data
@ApiModel(value = "财务信息")
public class FinanceInfoVO {
    @ApiModelProperty("类型")
    private AssetTypeEnum type;
    @ApiModelProperty("产品名称")
    private String productName;
    @ApiModelProperty("车辆价格/附加贷金额")
    private BigDecimal contractAmt;
    @ApiModelProperty("附加贷金额")
    private BigDecimal addAmt;
    @ApiModelProperty("首付金额")
    private BigDecimal downPayAmt;
    @ApiModelProperty("首付比例")
    private BigDecimal downPayScale;
    @ApiModelProperty("贷款金额")
    private BigDecimal loanAmt;
    @ApiModelProperty("月供金额")
    private BigDecimal monthPayAmt;
    @ApiModelProperty("月供类型")
    private String monthPayType="月末";
    @ApiModelProperty("是否LPR")
    private String isLpr;
    @ApiModelProperty("还款方式")
    private String repaymentType;
    @ApiModelProperty("客户利率")
    private BigDecimal custRate;
    @ApiModelProperty("总利率")
    private BigDecimal settleRate;
    @ApiModelProperty("补贴利率")
    private BigDecimal discountRate;
    @ApiModelProperty("溢缴款")
    private BigDecimal overpayment = BigDecimal.ZERO;
    @ApiModelProperty("差额款")
    private BigDecimal difference = BigDecimal.ZERO;
    @ApiModelProperty("尾款")
    private BigDecimal tailPayAmt;
    @ApiModelProperty("融资金额%")
    private BigDecimal financPercent;
    @ApiModelProperty("资产金额")
    private BigDecimal contAmt;
    @ApiModelProperty("上调/下调 枚举值：上调，下调")
    private AdjustTypeEnum adjustType;
    @ApiModelProperty("贴息总额")
    private BigDecimal totalDiscountAmt = new BigDecimal(0);

}
